package com.cet.designpatterns.observer.improvement;

/**
 * @program: algorithm
 * @description: 抽象主体角色
 * @author: 陈恩涛
 * @create: 2021-09-22 14:33
 **/
public interface Subject {

    void registerObserver(Observer observer);

    void removeObserver(Observer observer);

    void notifyObservers();
}
